//
//  BVWorkoutModel.h
//  AFNetworking
//
//  Created by xiute on 2019/10/22.
//

#import "BVBaseModel.h"
#import "BVMetaModel.h"

typedef NS_ENUM(NSUInteger, BVHomeHeaderCollectionCellType) {
    BVHomeHeaderCollectionCellTypeYesterday,
    BVHomeHeaderCollectionCellTypeToday,
    BVHomeHeaderCollectionCellTypeDate,
};

NS_ASSUME_NONNULL_BEGIN

@interface BVDateModel : BVBaseModel

@property (nonatomic, copy) NSString *__type;
@property (nonatomic, copy) NSString *iso;

@property (nonatomic, strong, readonly) NSDate *date;
@property (nonatomic, assign, readonly) BVHomeHeaderCollectionCellType dateType;

@end

@interface BVWorkoutModel : BVBaseModel

@property (nonatomic, strong) NSNumber *gmetaNum;
@property (nonatomic, strong) BVDateModel *leaveAt;
@property (nonatomic, strong) BVDateModel *enterAt;
@property (nonatomic, copy) NSString *objectId;
@property (nonatomic, copy) NSString *updatedAt;
@property (nonatomic, copy) NSString *cover;
@property (nonatomic, copy) NSString *createdAt;
@property (nonatomic, strong) BVMetaArena *arena;


@end

NS_ASSUME_NONNULL_END
